package com.logos.ruralrevitalization.converter;

import com.logos.ruralrevitalization.entity.AuthUser;
import com.logos.ruralrevitalization.entity.ShoppingCart;
import com.logos.ruralrevitalization.req.AuthUserReq;
import com.logos.ruralrevitalization.req.ShoppingCartReq;
import com.logos.ruralrevitalization.resp.ShoppingCartResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ShoppingCartConverter {

    ShoppingCartConverter INSTANCE = Mappers.getMapper(ShoppingCartConverter.class);

    ShoppingCart convertReqToEntity(ShoppingCartReq shoppingCartReq);

    ShoppingCartResp convertEntityToResp(ShoppingCart shoppingCart);
}